package com.train.mgr.modules.biz.dto.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel("课程主页-练习记录返回对象模型")
public class TraineeStudyExerciseSearchRespDTO {
    @ApiModelProperty(name = "courseId", value = "课程ID")
    private String courseId;
    @ApiModelProperty(name = "courseName", value = "课程名称")
    private String courseName;
    @ApiModelProperty(name = "lessons", value = "所属课时")
    private List<LessonDTO> lessons;

    @Data
    public static class LessonDTO {
        @ApiModelProperty(name = "lessonId", value = "课时id")
        private String lessonId;
        @ApiModelProperty(name = "lessonName", value = "课时名称")
        private String lessonName;
        @ApiModelProperty(name = "exercises", value = "练习项目")
        private List<ExerciseDTO> exercises;
    }

    @Data
    public static class ExerciseDTO {
        @ApiModelProperty(name = "exerciseType", value = "练习类型 101，102，103，104，105")
        private Integer exerciseType;

        @ApiModelProperty(name = "exerciseTypeName", value = "练习类型 101-AI话术切片，102-话术跟读，103-脱稿演练，104-模拟对话，105-智能复习")
        private String exerciseTypeName;
    }
}
